package com.alibaba.dubbo.validate;

/**
 * @author zhangjuntao
 * @create 2017-10-27 下午3:24
 **/
public class Person {
    @NotEmpty
    private String name;
    @NotNull
    private Integer age;
    private String addr;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }
}
